    var count = 0;
	//html_id为HTML页面上要添加位置的ID
	function mKuBindNew(html, html_id, level, pId) {
		//清空下拉数据		
		for (var x = level; x <= count; x++) {
			$("#" + html + x).remove();
		}	
		var str = "";
		$
				.ajax({
					type : "POST",
					url : "../configration/getReczsk",
					data : {
						"id" : "",
						"pId" : pId,
						"name" : "",
						"value" : "",
						"level" : level
					},
					dataType : "JSON",
					async : false,
					success : function(data) {
						if (data.length != 0) {
							str += '<div id='+html+level+' class="col-md-3"  style="margin-bottom: 15px"><select id='
									+ html_id
									+ level
									+ ' name="mkulist" style="height: 30px; width: 105%; float: left">';
							//从服务器获取数据进行绑定
							str += "<option value='all'>请选择</option>";
							$.each(data, function(i, item) {
								str += "<option value=" + item.id + ">"
										+ item.name + "</option>";
							})
							str += "</select></div>";
							//将数据添加到省份这个下拉框里面
							$("#" + html_id).append(str);
							count++;
						}
					},
					error : function() {
						alert("Error");
					}
				});
	}
	function mdynamicBindNew(html, html_id, level) {
		for (var i = level; i <= count; i++) {
			(function(m) {
				$("#" + html_id + m).change(
						function() {
								mKuBindNew(html, html_id, m + 1,$("#" + html_id + m).val());
								mdynamicBindNew(html, html_id, m + 1);						
						});
			})(i);
		}
	}